export default [
    {
        path: '/ranking',
        name: 'ranking-manage',
        meta: {
            title: '排行榜管理',
            icon: 'hdd-outlined'
        },
        redirect: '/type/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/type/list',
                name: 'type-list',
                meta: {
                    title: '游戏类型管理',
                    keepAlive: true,
                    // icon: 'copy-outlined'
                },
                component: () => import('@/views/ranking/type/list.vue'),
            },
            {
                path: '/type/edit',
                name: 'type-edit',
                meta: {
                    title: '编辑游戏类型',
                    keepAlive: true,
                    icon: 'copy-outlined',
                    toRoute: 'type-list'
                },
                hidden: true,
                component: () => import('@/views/ranking/type/edit.vue'),
            },
            {
                path: '/game/list',
                name: 'game-list',
                meta: {
                    title: '游戏管理',
                    keepAlive: true,
                    // icon: 'copy-outlined'
                },
                component: () => import('@/views/ranking/game/list.vue'),
            },
            {
                path: '/game/edit',
                name: 'game-edit',
                meta: {
                    title: '编辑游戏',
                    keepAlive: true,
                    icon: 'copy-outlined',
                    toRoute: 'game-list'
                },
                hidden: true,
                component: () => import('@/views/ranking/game/edit.vue'),
            },
         


        ],
    },
];
